﻿using System.Web;
using OrchardGlimpsePOC.Areas.Glimpse.Config;

// This class was added to System.Web in .NETv4. Since Orchard requires .NETv4+, we should be safe to use it.
[assembly: PreApplicationStartMethod(typeof(PreApplicationStartConfig), "Start")]

namespace OrchardGlimpsePOC.Areas.Glimpse.Config
{
    public class PreApplicationStartConfig
    {
        public static void Start()
        {
            Microsoft.Web.Infrastructure.DynamicModuleHelper.DynamicModuleUtility.RegisterModule(typeof(OrchardHttpModule));
        }
    }
}